<!DOCTYPE html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/views/taglibs.jsp" %>
<html>
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<form id="form" action="save" method="post">
    <div class="dialogPage">
        <div class="om-panel-header">新增</div>
        <div class="editDiv">
            <table class="editTable">
                <tr>
                    <td><span class="required">*</span>标题：</td>
                    <td><input type="text" id="name" name="name" style="width: 100%"></td>
                </tr>
                <tr>
                    <td><span class="required">*</span>封面：</td>
                    <td colspan="3">
                        <!-- 上传图片 -->
                        <div id="container">
                            <a class="btn btn-default btn-lg " id="pickfiles" href="#">
                                <i class="glyphicon glyphicon-plus"></i>
                                <span>选择文件</span>
                            </a>
                        </div>
                        <input type="hidden" id="icon" name="icon">
                        <div class="image_result"></div>
                    </td>
                </tr>
                <tr>
                    <td>是否热门：</td>
                    <td colspan="3">
                        <label> <input type="radio" value="true" name="isHot"><span>是</span></label>&nbsp;&nbsp;&nbsp;
                        <label> <input type="radio" value="false" name="isHot" checked><span>否</span></label>
                    </td>
                </tr>
                <tr>
                    <td>说明：</td>
                    <td>
                        <textarea name="description" id="description" cols="30" rows="10"></textarea>
                    </td>
                </tr>
            </table>
            <div class="editBtn" style="margin-top: 20px;">
                <button id="btnSubmit" type="submit" class="button">&nbsp;保存&nbsp;</button>
                <button type="button" onclick="javascript:art.dialog.close();" class="button">
                    &nbsp;关闭&nbsp;</button>
            </div>
        </div>
    </div>
</form>
</body>
<%@include file="common.jsp" %>
</html>